<?php
//Connect to localhost
$con=mysql_connect("localhost","root","root") or 
	die("Error in Establishing connection  ".mysql_error());

//Connect to database
$db=mysql_select_db("webphp", $con) or 
	die("Error in Selecting Database ".mysql_error());
?>
